package com.simen.hellobytes.lang;

import java.util.List;

/**
 * @author Created by Simen.
 * @date 创建日期 2018/11/23 14:27
 * @modify 修改者 Simen
 */
public class ListUtil {

    public static boolean isListEmpty(List list){
        if(list==null || list.isEmpty()){
            return true;
        }

        return false;
    }

    public static <V> boolean isEmpty(List<V> sourceList) {
        return (sourceList == null || sourceList.size() == 0);
    }

}
